package org.example.system.mapper;

import org.example.system.entity.ScenicSpot;
import java.util.List;

public interface ScenicSpotMapper {
    int insert(ScenicSpot spot);
    int deleteById(Long id);
    int update(ScenicSpot spot);
    ScenicSpot selectById(Long id);
    List<ScenicSpot> selectAll();
    List<ScenicSpot> selectByName(String name);
} 